<div class="layui-card-header SearchTable">
    常用代码：<span id="detail_name_str" class="color_green"></span>
</div>
<div class="layui-card-body">

<pre class="layui-code" lay-title="后台排序" lay-height="" lay-skin="" lay-encode="" about="false">
, serviceSort: true, initSort: {field: 'sindex', type: 'asc'}</pre>

<pre class="layui-code" lay-title="字段编辑" lay-height="" lay-skin="" lay-encode="" about="false">
, editField: {url: 'ModifySystemDeptFieldApi', key: 'dept_id'}</pre>
<pre class="layui-code" lay-title="显示图片" lay-height="" lay-skin="" lay-encode="" about="false">
   , {
    field: 'img_url', title: '图片', width: 120, align: 'center',
    image: {show: true, class: 'line-img', url: 'img_url_view'}
    }</pre>
<pre class="layui-code" lay-title="显示html" lay-height="" lay-skin="" lay-encode="" about="false">
, {
    field: 'video_oldname', title: '时间段', width: 120, align: 'left',
    text: {show: true, class: 'line-2', html: '开始:{{d.online_begin}}<br/>结束:{{d.online_end}}'}
    }</pre>
</div>